<?php

namespace app\common\model\Team;

// 引入TP基础模型
use think\Model;

// 拼团订单人员模型
class  OrderBusiness extends Model
{
    protected $name = 'team_order_business';

    protected $autoWriteTimestamp = true;

    protected $createTime = 'createtime';

    protected $updateTime = false;

    
    public function business()
    {
        return $this->belongsTo('app\common\model\Business\Business','busid', 'id', [], 'LEFT')->setEagerlyType(0);
    }
}